import request from '@/utils/request'

export function getlist (aid, uid) {
  const url = '/index/home'
  return request.post(url, { aid, uid })
}
export function helpList (page, aid) {
  const url = '/index/helpList'
  return request.post(url, { page, aid })
}
export function selfCut (aid) {
  const url = '/index/selfCut'
  return request.post(url, { aid })
}
export function useQrcode (aid) {
  const url = '/index/useQrcode'
  return request.post(url, { aid })
}
export function useInfo (aid, uid, noceStr, singstr) {
  const url = '/index/useInfo'
  return request.post(url, { aid, uid, noceStr, singstr })
}
export function confirmUse (aid, uid, noceStr, singstr) {
  const url = '/index/confirmUse'
  return request.post(url, { aid, uid, noceStr, singstr })
}
// 绑定
export function bindInfo (aid, noceStr, singstr) {
  const url = '/index/bindInfo'
  return request.post(url, { aid, noceStr, singstr })
}
export function confirmBind (aid, noceStr, singstr) {
  const url = '/index/confirmBind'
  return request.post(url, { aid, noceStr, singstr })
}
